#
# Be sure to run `pod lib lint JLReceiveRecordModule.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
#

Pod::Spec.new do |s|
  s.name             = 'JLReceiveRecordModule'
  s.version          = '0.1.0'
  s.summary          = '进件记录'

# This description is used to generate tags and improve search results.
#   * Think: What does it do? Why did you write it? What is the focus?
#   * Try to keep it short, snappy and to the point.
#   * Write the description between the DESC delimiters below.
#   * Finally, don't worry about the indent, CocoaPods strips it!

  s.description      = <<-DESC
进件记录
                       DESC

  s.homepage         = 'https://gitlab.jlpay.com'
  # s.screenshots     = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
  s.license          = { :type => 'MIT', :file => 'LICENSE' }
  s.author           = { 'lz156' => 'Jack' }
  s.source           = {  :git => 'https://gitlab.jlpay.com/access-services/common-components/ios-component.git',  :tag => "#{s.name}_v#{s.version}" }
  # s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'

  s.ios.deployment_target = '10.0'
  s.swift_version = '5.0'
  
  s.dependency 'RxSwift', '~> 6.2.0'
  s.dependency 'RxCocoa', '~> 6.2.0'
  s.dependency 'SnapKit', '~> 5.0.1'
  s.dependency 'JXSegmentedView', '~> 1.2.7'
  #s.dependency 'YYCategories','~> 1.0.4'
  s.dependency 'JLBase'
  s.dependency 'JLUIKit'
  s.dependency 'JLNetworkService'
  s.dependency 'JLPickDateString'
  s.dependency 'JLHudManage'
  #s.dependency 'SwiftDate'
  s.dependency 'YYText'
  s.dependency 'MJRefresh'
  s.dependency 'YYModel'
  s.dependency 'JLScanService'
  s.dependency 'JLAddressPickerModule'
  s.dependency 'JLUserDataModule'
  s.dependency 'JLZFRouter'



  s.resource_bundles = {
     'JLReceiveRecordModule' => ['JLReceiveRecordModule/JLReceiveRecordModule/Assets/*.xcassets']
   }

  #s.source_files = 'JLReceiveRecordModule/Classes/**/*'

  s.subspec 'Config' do |ss|
    ss.source_files = 'JLReceiveRecordModule/JLReceiveRecordModule/Classes/Config/*.{swift,h,m}'
  end
  
  s.subspec 'Manager' do |ss|
    ss.source_files = 'JLReceiveRecordModule/JLReceiveRecordModule/Classes/Manager/*.{swift,h,m}'
  end
  
  s.subspec 'Enum' do |ss|
    ss.source_files = 'JLReceiveRecordModule/JLReceiveRecordModule/Classes/Enum/*.{swift,h,m}'
  end
  
  s.subspec 'Category' do |ss|
    ss.source_files = 'JLReceiveRecordModule/JLReceiveRecordModule/Classes/Category/*.{swift,h,m}'
  end
  
  s.subspec 'View' do |ss|
    
    ss.dependency 'JLReceiveRecordModule/Category'
    ss.dependency 'JLReceiveRecordModule/Manager'
    ss.dependency 'JLReceiveRecordModule/ViewModel'
    ss.dependency 'JLReceiveRecordModule/Manager'
    ss.dependency 'JLReceiveRecordModule/Enum'
    
    ss.source_files = 'JLReceiveRecordModule/JLReceiveRecordModule/Classes/View/*.{swift,h,m}'
  end
  
  s.subspec 'ViewModel' do |ss|
    
    ss.dependency 'JLReceiveRecordModule/Config'
    ss.dependency 'JLReceiveRecordModule/Enum'
    ss.dependency 'JLReceiveRecordModule/Category'

    ss.source_files = 'JLReceiveRecordModule/JLReceiveRecordModule/Classes/ViewModel/*.{swift,h,m}'
  end
  
  
  s.subspec 'Controller' do |ss|

    ss.dependency 'JLReceiveRecordModule/View'
    ss.dependency 'JLReceiveRecordModule/ViewModel'
    ss.dependency 'JLReceiveRecordModule/Category'
    ss.dependency 'JLReceiveRecordModule/Config'
    ss.dependency 'JLReceiveRecordModule/Enum'
    ss.dependency 'JLReceiveRecordModule/Manager'
    
    ss.source_files = 'JLReceiveRecordModule/JLReceiveRecordModule/Classes/Controller/*.{swift,h,m}'
  end 
  
  # s.resource_bundles = {
  #   'JLReceiveRecordModule' => ['JLReceiveRecordModule/Assets/*.png']
  # }

  # s.public_header_files = 'Pod/Classes/**/*.h'
  # s.frameworks = 'UIKit', 'MapKit'
  # s.dependency 'AFNetworking', '~> 2.3'
end
